<template>
	<view class="container">
		<view class="example">
			<uni-section title="未抄表数据" type="line">
				<uni-list>
					<uni-list-item v-for="(item, index) in NoCheckDegreeDormitoryList" :key="index"
						:title="item.buildingname+item.dormitorycode" :rightText="item.checkdate" />
				</uni-list>
				</uni-list>
			</uni-section>
		</view>
	
	</view>
</template>

<script>
	import {
		getNoCheckDegreeDormitoryList
	} from '@/api/index.js'
	export default {
		data() {
			return {
				NoCheckDegreeDormitoryList: []
			}
		},
		created() {
			this.getData();
		},
		methods: {
			getData() {
				getNoCheckDegreeDormitoryList().then(response => {
					//console.log(response)
					this.NoCheckDegreeDormitoryList = response.NoCheckDegreeDormitoryList;
				});
			},
		},
	}
</script>

<style>
/* 	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin-top: 10px;
	} */
	page {
		background-color: #ffffff;
	}
	
	.example {
		padding: 15px;
		background-color: #fff;
	}
</style>